package com.tzbank.entity.backstage;

import com.tzbank.entity.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.Table;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.io.Serializable;

/**
 * 页面跳转客服配置表
 * @author XUZONGTIAN
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Entity(name = "mb_config_page_to_customer")
@Table(appliesTo = "mb_config_page_to_customer", comment = "页面跳转客服配置表")
public class ConfigPageToCustomer extends BaseModel implements Serializable {

	private static final long serialVersionUID = -6567747143824957069L;

	/**
	 * 页面ID
	 */
	@ApiModelProperty(value = "页面ID")
	@Column(name = "page_id", columnDefinition = "VARCHAR(50) NOT NULL COMMENT '页面ID'")
	private String pageId;

	/**
	 * 页面名称
	 */
	@ApiModelProperty(value = "页面名称")
	@Column(name = "page_name", columnDefinition = "VARCHAR(50) NOT NULL COMMENT '页面名称'")
	private String pageName;

	/**
	 * 页面路径
	 */
	@ApiModelProperty(value = "页面路径")
	@Column(name = "page_router", columnDefinition = "VARCHAR(50) NOT NULL COMMENT '页面路径'")
	private String pageRouter;

	/**
	 * 客服类型
	 */
	@ApiModelProperty(value = "客服类型")
	@Column(name = "customer_type", columnDefinition = "CHAR(1) NOT NULL COMMENT '客服类型'")
	private String customerType;

	/**状态**/
	@ApiModelProperty(value = "状态")
	@Column(name = "status", columnDefinition = "varchar(1)  DEFAULT NULL COMMENT '状态' ")
	private String status;
	
	/**
	 * 操作人
	 */
	@ApiModelProperty(value = "操作人")
	@Column(name = "operator", columnDefinition = "VARCHAR(50) NOT NULL COMMENT '操作人'")
	private String operator;

}
